<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;
//Route::bind('index');

Route::rule('/sitemapXml','index/sitemapXml');

Route::rule('/sitemap','index/sitemapHtml');
//Route::get(':id','article/index/',[],['id'=>'\d+']);


//一键解析
Route::rule('parsing','index/parsing/index');

//下载
Route::rule('/down','index/down/index');
Route::get('/down/:id','index/down/index',[],['id'=>'\d+']);

//搜索
Route::rule('search','index/lists/search');
Route::rule('search/[:sort]','index/lists/search');
Route::rule('search/[:sort]/keyword/[:keyword]','index/lists/search');

//列表
Route::rule('lists/[:id]/[:pid]/[:sort]','index/lists/index');

//文章列表
Route::rule('alists/[:sort]','index/alists/index');


//电影详情
Route::get('[:id]','index/detail/index',[],['id'=>'\d+']);

//资讯详情
Route::get('/article/[:id]','index/article/index',[],['id'=>'\d+']);

